package com.meowcook.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-05-21
 * Time: 16:32
 */
@Data
@ApiModel("回复列表查询参数")
public class ReplyListDTO {
    @NotNull
    @ApiModelProperty(value = "评论id")
    private Long commentId;

    @NotNull
    @Min(0)
    @ApiModelProperty(value = "分页偏移量")
    private int offset;

    @NotNull
    @Min(1)
    @ApiModelProperty(value = "分页大小")
    private int limit;
}
